<?php
namespace app\controllers;

use core\Controller;

class HomeController extends Controller
{
    public function index()
    {
        $data = [
            'message' => 'welcome to my php framework',
        ];
        return $this->view('home', $data);
    }
}